import { createRouter, createWebHistory } from 'vue-router';
import RandomEvent from './components/RandomEvent.vue';
import BalanceCheck from './components/BalanceCheck.vue';
import Search from './components/Search.vue';

const routes = [
  { path: '/', component: RandomEvent, name: 'RandomEvent' },
  { path: '/balance', component: BalanceCheck, name: 'BalanceCheck' },
  { path: '/search', component: Search, name: 'Search' },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
